package com.trade.dao;

import java.util.List;

import com.trade.common.dao.IGenericDao;
import com.trade.exception.PersistenceException;
import com.trade.model.ProcurmentContract;

/**
 * @author Lin Yang
 * 
 */
public interface IProcurmentContractDao extends IGenericDao<ProcurmentContract, Long> {
    List<ProcurmentContract> findLikeName(String name) throws PersistenceException;

    List<ProcurmentContract> findByStateAndLikeName(int state, String name) throws PersistenceException;
}
